package org.bonorsoft.modules.wechat.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.bonorsoft.modules.wechat.entity.WxRequest;
import org.bonorsoft.modules.wechat.mapper.WxRequestMapper;
import org.bonorsoft.modules.wechat.service.IWxRequestService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WxRequestServiceImpl extends ServiceImpl<WxRequestMapper, WxRequest> implements IWxRequestService {
    @Override
    public IPage<WxRequest> paging(Page<WxRequest> page, QueryWrapper<WxRequest> queryWrapper) {
        return this.baseMapper.paging(page, queryWrapper);
    }

    @Override
    public List<WxRequest> list() {
        return this.baseMapper.list();
    }
}
